package com.thn.news.config;

import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class FeignRefreshListener {
//    @EventListener(FeignClientRefreshEvent.class)
//    public void handleRefreshEvent(FeignClientRefreshEvent event) {
//        // 自定义刷新逻辑，例如记录日志或执行前置操作
//        log.info("Feign client refreshed: " + event.getSource());
//    }
}
